package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("user")
public class User {
    @TableId
    private Integer id;

    @TableField("user_name")
    private String userName;

    private String phone;

    private String password;

    private String logo;

    @TableField("role_id")
    private Integer roleId;

    @TableField("creat_date")
    private Date creatDate;

    @TableField(exist = false)
    private String code;

    private Integer status;
}